package mest.dao.hws;

import mest.entity.plan_productjob_purchase_record;
import mest.entity.plan_productjob_workfinish;
import mest.entity.plan_productjob_workfinish_record;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface plan_productjob_workfinishMapper {
    int deleteByPrimaryKey(@Param("theirDb") String theirDb,Integer id);

    void insert(@Param("list") List<Map<String,Object>> record);

    int insertSelective(@Param("theirDb") String theirDb,@Param("record")plan_productjob_workfinish record);

    List<Map<String,Object>> selectByPrimaryKey(Map<String,Object> map);

    List<Map<String,Object>> selectPrimary(Map<String,Object> map);

    //查询总行数
    int selectcount(Map<String,Object> map);

    int updateByPrimaryKeySelective(@Param("theirDb") String theirDb,@Param("record")plan_productjob_workfinish record);

    int updateByPrimaryKey(@Param("theirDb") String theirDb,@Param("record") plan_productjob_workfinish record);

    int updateByone(@Param("list") List<Map<String, Object>> map);
}